PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Particles / Crystal / suksma - nymphinite juice.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.990 |
| 9 | fVideoEchoZoom=1.007 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=2 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.006 |
| 26 | fWaveScale=0.000 |
| 27 | fWaveSmoothing=0.900 |
| 28 | fWaveParam=0.173 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=0.99980 |
| 34 | fShader=0.000 |
| 35 | zoom=0.98960 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.448 |
| 48 | wave_y=0.122 |
| 49 | ob_size=0.500 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=1.000 |
| 60 | nMotionVectorsY=1.000 |
| 61 | mv_dx=0.087 |
| 62 | mv_dy=0.343 |
| 63 | mv_l=1.663 |
| 64 | mv_r=0.890 |
| 65 | mv_g=0.030 |
| 66 | mv_b=0.881 |
| 67 | mv_a=0.199 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=0.46374 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_init1=//pi |
| 89 | wave_0_init2=t8=3.14159265*1.56; |
| 90 | wave_0_init3=t5 = 1; |
| 91 | wave_0_per_frame1=rotx = rotx+bass; |
| 92 | wave_0_per_frame2=roty = roty+mid; |
| 93 | wave_0_per_frame3=rotz = rotz+treb; |
| 94 | wave_0_per_frame4=//rotx = 0; |
| 95 | wave_0_per_frame5=//roty =0; |
| 96 | wave_0_per_frame6=//rotz = 0; |
| 97 | wave_0_per_frame7= |
| 98 | wave_0_per_frame8=//convert rotation values from degrees to radians |
| 99 | wave_0_per_frame9=t1= t8*rotx/180; |
| 100 | wave_0_per_frame10=t2 = t8*roty/180; |
| 101 | wave_0_per_frame11=t3 = t8*rotz/180; |
| 102 | wave_0_per_frame12= |
| 103 | wave_0_per_frame13=t4 = 12+13*sin(time+2.46*t8); |
| 104 | wave_0_per_frame14=t5 = 2+8*cos(time+1.66*t8); |
| 105 | wave_0_per_frame15=r = 1; |
| 106 | wave_0_per_frame16=b = 0; |
| 107 | wave_0_per_frame17=g=0; |
| 108 | wave_0_per_point1=//Define 3D Shape |
| 109 | wave_0_per_point2= |
| 110 | wave_0_per_point3=//Sphere |
| 111 | wave_0_per_point4=fvar = sample*512; |
| 112 | wave_0_per_point5=svar = fvar*128; |
| 113 | wave_0_per_point6=tvar = 0&svar; |
| 114 | wave_0_per_point7=nsample = tvar*4.5; |
| 115 | wave_0_per_point8=x1 = -.5+(2.5)*sin(sample); |
| 116 | wave_0_per_point9=y1 = (1)*cos(t8*nsample); |
| 117 | wave_0_per_point10=z1 = (1)*sin(t8*nsample); |
| 118 | wave_0_per_point11= |
| 119 | wave_0_per_point12=//modulate values to adjust for rotation on multiple axes, convert to world co-ordinates |
| 120 | wave_0_per_point13=y2 = y1*cos(t1)-z1*sin(t1); |
| 121 | wave_0_per_point14=z2 = y1*sin(t1)+z1*cos(t1); |
| 122 | wave_0_per_point15=x2 = z2*sin(t2)+x1*cos(t2); |
| 123 | wave_0_per_point16=z3 = z2*cos(t2)-x1*sin(t2); |
| 124 | wave_0_per_point17=x3 = x2*cos(t3)-y2*sin(t3); |
| 125 | wave_0_per_point18=y3 = y2*cos(t3)+x2*sin(t3); |
| 126 | wave_0_per_point19=//move resulting shape in 3d space |
| 127 | wave_0_per_point20=x4 = x3; |
| 128 | wave_0_per_point21=y4 = y3; |
| 129 | wave_0_per_point22=z4 = z3+5; |
| 130 | wave_0_per_point23=//draw 3d shape in 2d |
| 131 | wave_0_per_point24=x=0.5-1*(x4/(1+z4*0.5)); |
| 132 | wave_0_per_point25=y=0.5-1*(y4/(1+z4*0.5)); |
| 133 | wave_0_per_point26= |
| 134 | wave_0_per_point27=a = -.9+sin(nsample+time); |
| 135 | wave_0_per_point28=a = if(below(a,0),0,a); |
| 136 | wave_0_per_point29=a=1; |
| 137 | wave_0_per_point30=g=y2; |
| 138 | wave_0_per_point31=b=x2; |
| 139 | wave_0_per_point32=r= z2+z3; |
| 140 | wavecode_1_enabled=0 |
| 141 | wavecode_1_samples=262 |
| 142 | wavecode_1_sep=0 |
| 143 | wavecode_1_bSpectrum=0 |
| 144 | wavecode_1_bUseDots=0 |
| 145 | wavecode_1_bDrawThick=0 |
| 146 | wavecode_1_bAdditive=0 |
| 147 | wavecode_1_scaling=1.00000 |
| 148 | wavecode_1_smoothing=0.50000 |
| 149 | wavecode_1_r=0.000 |
| 150 | wavecode_1_g=0.000 |
| 151 | wavecode_1_b=0.000 |
| 152 | wavecode_1_a=1.000 |
| 153 | wave_1_init1=t3 = acos(-1)*128; |
| 154 | wave_1_init2=t4 = 4/3; |
| 155 | wave_1_per_frame1=spin = spin + .01; |
| 156 | wave_1_per_frame2=t2 = spin; |
| 157 | wave_1_per_frame3=red = (-1 * cos(time)) + abs(-1 * cos(time)) + 0.2 * (cos(sin(time))+(abs(cos(sin(time)))+cos(sin(time)))); |
| 158 | wave_1_per_frame4=green = abs(sin(time)) ; |
| 159 | wave_1_per_frame5=blue = cos(time) + abs(cos(time)); |
| 160 | wave_1_per_frame6=r = if(above(red,1),1,if(above(red,0), abs(red),0)); |
| 161 | wave_1_per_frame7=g = if(above(green,1),1,if(above(green,0), abs(green),0)); |
| 162 | wave_1_per_frame8=b = if(above(blue,1),1,if(above(blue,0), abs(blue),0)); |
| 163 | wave_1_per_frame9=t5 = r; |
| 164 | wave_1_per_frame10=t6 = g; |
| 165 | wave_1_per_frame11=t7 = b-sin(time); |
| 166 | wave_1_per_point1=dx = cos(sample*.1*t1 + t1*(t7-int(t5)))-.5; |
| 167 | wave_1_per_point2=dy = 0.3*cos(sample*t1 + 7 + t1*(t7-int(t6))); |
| 168 | wave_1_per_point3=ddy = -1*dy; |
| 169 | wave_1_per_point4=t = abs(sin(q7)); |
| 170 | wave_1_per_point5=rad = sample*t3+t2; |
| 171 | wave_1_per_point6=x = cos(rad/32)*0.10 + sin(rad)*0.05 +dx*t; |
| 172 | wave_1_per_point7=y = sin(rad/64)*t4*0.10 + cos(rad)*t4*0.05+dy*t + ddy * t * t; |
| 173 | wavecode_2_enabled=1 |
| 174 | wavecode_2_samples=512 |
| 175 | wavecode_2_sep=0 |
| 176 | wavecode_2_bSpectrum=1 |
| 177 | wavecode_2_bUseDots=0 |
| 178 | wavecode_2_bDrawThick=1 |
| 179 | wavecode_2_bAdditive=0 |
| 180 | wavecode_2_scaling=0.46374 |
| 181 | wavecode_2_smoothing=0.00000 |
| 182 | wavecode_2_r=1.000 |
| 183 | wavecode_2_g=1.000 |
| 184 | wavecode_2_b=1.000 |
| 185 | wavecode_2_a=1.000 |
| 186 | wave_2_init1=//pi |
| 187 | wave_2_init2=t8=3.14159265/2; |
| 188 | wave_2_init3=t5 = 1; |
| 189 | wave_2_per_frame1=rotx = rotx+bass; |
| 190 | wave_2_per_frame2=roty = roty+mid; |
| 191 | wave_2_per_frame3=rotz = rotz+treb; |
| 192 | wave_2_per_frame4=//rotx = 0; |
| 193 | wave_2_per_frame5=//roty =0; |
| 194 | wave_2_per_frame6=//rotz = 0; |
| 195 | wave_2_per_frame7= |
| 196 | wave_2_per_frame8=//convert rotation values from degrees to radians |
| 197 | wave_2_per_frame9=t1= t8*rotx/180; |
| 198 | wave_2_per_frame10=t2 = t8*roty/180; |
| 199 | wave_2_per_frame11=t3 = t8*rotz/180; |
| 200 | wave_2_per_frame12= |
| 201 | wave_2_per_frame13=t4 = sin(bass+0.86*t8); |
| 202 | wave_2_per_frame14=t5 = 10+8*cos(time+0.56*t8); |
| 203 | wave_2_per_point1=//Define 3D Shape |
| 204 | wave_2_per_point2= |
| 205 | wave_2_per_point3=//Sphere |
| 206 | wave_2_per_point4=fvar = sample*512; |
| 207 | wave_2_per_point5=svar = fvar*128; |
| 208 | wave_2_per_point6=tvar = 0&svar; |
| 209 | wave_2_per_point7=nsample = tvar*4.5; |
| 210 | wave_2_per_point8=x1 = -2.5+(1.5)*sin(sample); |
| 211 | wave_2_per_point9=y1 = (-1)*cos(t8*nsample); |
| 212 | wave_2_per_point10=z1 = (-1)*sin(t8*nsample); |
| 213 | wave_2_per_point11= |
| 214 | wave_2_per_point12=//modulate values to adjust for rotation on multiple axes, convert to world co-ordinates |
| 215 | wave_2_per_point13=y2 = y1*cos(t1)-z1*sin(t1); |
| 216 | wave_2_per_point14=z2 = y1*sin(t1)+z1*cos(t1); |
| 217 | wave_2_per_point15=x2 = z2*sin(t2)+x1*cos(t2); |
| 218 | wave_2_per_point16=z3 = z2*cos(t2)-x1*sin(t2); |
| 219 | wave_2_per_point17=x3 = x2*cos(t3)-y2*sin(t3); |
| 220 | wave_2_per_point18=y3 = y2*cos(t3)+x2*sin(t3); |
| 221 | wave_2_per_point19=//move resulting shape in 3d space |
| 222 | wave_2_per_point20=x4 = x3; |
| 223 | wave_2_per_point21=y4 = y3; |
| 224 | wave_2_per_point22=z4 = z3+5; |
| 225 | wave_2_per_point23=//draw 3d shape in 2d |
| 226 | wave_2_per_point24=x=0.5+0.5*(x4/(1+z4*0.5)); |
| 227 | wave_2_per_point25=y=0.5+0.5*(y4/(1+z4*0.5)); |
| 228 | wave_2_per_point26= |
| 229 | wave_2_per_point27=a = -.9+sin(nsample+time); |
| 230 | wave_2_per_point28=a = if(below(a,0),0,a); |
| 231 | wave_2_per_point29=a=1; |
| 232 | wave_2_per_point30=r =sin(abs(x2*sin(time)))*0.5 + 0.5; |
| 233 | wave_2_per_point31=b = sin(abs(y3+sin(0.8765*time)))*0.5 + 0.5; |
| 234 | wave_2_per_point32=g = x2*z2; |
| 235 | wavecode_3_enabled=0 |
| 236 | wavecode_3_samples=512 |
| 237 | wavecode_3_sep=0 |
| 238 | wavecode_3_bSpectrum=0 |
| 239 | wavecode_3_bUseDots=1 |
| 240 | wavecode_3_bDrawThick=1 |
| 241 | wavecode_3_bAdditive=0 |
| 242 | wavecode_3_scaling=0.46374 |
| 243 | wavecode_3_smoothing=0.00000 |
| 244 | wavecode_3_r=1.000 |
| 245 | wavecode_3_g=1.000 |
| 246 | wavecode_3_b=1.000 |
| 247 | wavecode_3_a=1.000 |
| 248 | wave_3_init1=//pi |
| 249 | wave_3_init2=t8=3.14159265; |
| 250 | wave_3_init3=t5 = 1; |
| 251 | wave_3_per_frame1=rotx = rotx+bass; |
| 252 | wave_3_per_frame2=roty = roty+mid; |
| 253 | wave_3_per_frame3=rotz = rotz+treb; |
| 254 | wave_3_per_frame4=//rotx = 0; |
| 255 | wave_3_per_frame5=//roty =0; |
| 256 | wave_3_per_frame6=//rotz = 0; |
| 257 | wave_3_per_frame7= |
| 258 | wave_3_per_frame8=//convert rotation values from degrees to radians |
| 259 | wave_3_per_frame9=t1= t8*rotx/180; |
| 260 | wave_3_per_frame10=t2 = t8*roty/180; |
| 261 | wave_3_per_frame11=t3 = t8*rotz/180; |
| 262 | wave_3_per_frame12= |
| 263 | wave_3_per_frame13=t4 = 3*sin(time+0.776*t8); |
| 264 | wave_3_per_frame14=t5 = 10+8*cos(time+0.56*t8); |
| 265 | wave_3_per_frame15= |
| 266 | wave_3_per_point1=//Define 3D Shape |
| 267 | wave_3_per_point2= |
| 268 | wave_3_per_point3=//Sphere |
| 269 | wave_3_per_point4=fvar = sample*512; |
| 270 | wave_3_per_point5=svar = fvar*128; |
| 271 | wave_3_per_point6=tvar = 0&svar; |
| 272 | wave_3_per_point7=nsample = tvar*4.5; |
| 273 | wave_3_per_point8=x1 = -.75+(1.5)*sin(sample); |
| 274 | wave_3_per_point9=y1 = (1)*cos(t8*nsample); |
| 275 | wave_3_per_point10=z1 = (1)*sin(t8*nsample); |
| 276 | wave_3_per_point11= |
| 277 | wave_3_per_point12=//modulate values to adjust for rotation on multiple axes, convert to world co-ordinates |
| 278 | wave_3_per_point13=y2 = y1*cos(t1)-z1*sin(t1); |
| 279 | wave_3_per_point14=z2 = y1*sin(t1)+z1*cos(t1); |
| 280 | wave_3_per_point15=x2 = z2*sin(t2)+x1*cos(t2); |
| 281 | wave_3_per_point16=z3 = z2*cos(t2)-x1*sin(t2); |
| 282 | wave_3_per_point17=x3 = x2*cos(t3)-y2*sin(t3); |
| 283 | wave_3_per_point18=y3 = y2*cos(t3)+x2*sin(t3); |
| 284 | wave_3_per_point19=//move resulting shape in 3d space |
| 285 | wave_3_per_point20=x4 = x3; |
| 286 | wave_3_per_point21=y4 = y3; |
| 287 | wave_3_per_point22=z4 = z3+5; |
| 288 | wave_3_per_point23=//draw 3d shape in 2d |
| 289 | wave_3_per_point24=x=0.5+0.75*(x4/(1+z4*0.5)); |
| 290 | wave_3_per_point25=y=0.5+0.75*(y4/(1+z4*0.5)); |
| 291 | wave_3_per_point26= |
| 292 | wave_3_per_point27=a = -.9+sin(nsample+time); |
| 293 | wave_3_per_point28=a = if(below(a,0),0,a); |
| 294 | wave_3_per_point29=a=1; |
| 295 | wave_3_per_point30=r = y2*z2; |
| 296 | wave_3_per_point31=b = z3+y3; |
| 297 | wave_3_per_point32=g = z3/x2; |
| 298 | shapecode_0_enabled=1 |
| 299 | shapecode_0_sides=100 |
| 300 | shapecode_0_additive=0 |
| 301 | shapecode_0_thickOutline=0 |
| 302 | shapecode_0_textured=1 |
| 303 | shapecode_0_num_inst=1 |
| 304 | shapecode_0_x=0.500 |
| 305 | shapecode_0_y=0.800 |
| 306 | shapecode_0_rad=0.33004 |
| 307 | shapecode_0_ang=0.00000 |
| 308 | shapecode_0_tex_ang=0.00000 |
| 309 | shapecode_0_tex_zoom=0.99999 |
| 310 | shapecode_0_r=1.000 |
| 311 | shapecode_0_g=1.000 |
| 312 | shapecode_0_b=1.000 |
| 313 | shapecode_0_a=1.000 |
| 314 | shapecode_0_r2=1.000 |
| 315 | shapecode_0_g2=1.000 |
| 316 | shapecode_0_b2=1.000 |
| 317 | shapecode_0_a2=1.000 |
| 318 | shapecode_0_border_r=1.000 |
| 319 | shapecode_0_border_g=1.000 |
| 320 | shapecode_0_border_b=1.000 |
| 321 | shapecode_0_border_a=0.000 |
| 322 | shapecode_1_enabled=1 |
| 323 | shapecode_1_sides=100 |
| 324 | shapecode_1_additive=0 |
| 325 | shapecode_1_thickOutline=0 |
| 326 | shapecode_1_textured=1 |
| 327 | shapecode_1_num_inst=1 |
| 328 | shapecode_1_x=0.580 |
| 329 | shapecode_1_y=0.200 |
| 330 | shapecode_1_rad=0.33004 |
| 331 | shapecode_1_ang=0.00000 |
| 332 | shapecode_1_tex_ang=0.00000 |
| 333 | shapecode_1_tex_zoom=1.00000 |
| 334 | shapecode_1_r=1.000 |
| 335 | shapecode_1_g=1.000 |
| 336 | shapecode_1_b=1.000 |
| 337 | shapecode_1_a=1.000 |
| 338 | shapecode_1_r2=1.000 |
| 339 | shapecode_1_g2=1.000 |
| 340 | shapecode_1_b2=1.000 |
| 341 | shapecode_1_a2=1.000 |
| 342 | shapecode_1_border_r=1.000 |
| 343 | shapecode_1_border_g=1.000 |
| 344 | shapecode_1_border_b=1.000 |
| 345 | shapecode_1_border_a=0.000 |
| 346 | shapecode_2_enabled=0 |
| 347 | shapecode_2_sides=100 |
| 348 | shapecode_2_additive=0 |
| 349 | shapecode_2_thickOutline=0 |
| 350 | shapecode_2_textured=1 |
| 351 | shapecode_2_num_inst=1 |
| 352 | shapecode_2_x=0.320 |
| 353 | shapecode_2_y=0.200 |
| 354 | shapecode_2_rad=0.89269 |
| 355 | shapecode_2_ang=0.00000 |
| 356 | shapecode_2_tex_ang=0.00000 |
| 357 | shapecode_2_tex_zoom=1.00000 |
| 358 | shapecode_2_r=1.000 |
| 359 | shapecode_2_g=1.000 |
| 360 | shapecode_2_b=1.000 |
| 361 | shapecode_2_a=1.000 |
| 362 | shapecode_2_r2=1.000 |
| 363 | shapecode_2_g2=1.000 |
| 364 | shapecode_2_b2=1.000 |
| 365 | shapecode_2_a2=0.000 |
| 366 | shapecode_2_border_r=1.000 |
| 367 | shapecode_2_border_g=1.000 |
| 368 | shapecode_2_border_b=1.000 |
| 369 | shapecode_2_border_a=0.000 |
| 370 | shapecode_3_enabled=1 |
| 371 | shapecode_3_sides=100 |
| 372 | shapecode_3_additive=0 |
| 373 | shapecode_3_thickOutline=0 |
| 374 | shapecode_3_textured=1 |
| 375 | shapecode_3_num_inst=1 |
| 376 | shapecode_3_x=0.400 |
| 377 | shapecode_3_y=0.800 |
| 378 | shapecode_3_rad=0.98608 |
| 379 | shapecode_3_ang=0.00000 |
| 380 | shapecode_3_tex_ang=0.00000 |
| 381 | shapecode_3_tex_zoom=0.74192 |
| 382 | shapecode_3_r=1.000 |
| 383 | shapecode_3_g=1.000 |
| 384 | shapecode_3_b=1.000 |
| 385 | shapecode_3_a=1.000 |
| 386 | shapecode_3_r2=1.000 |
| 387 | shapecode_3_g2=1.000 |
| 388 | shapecode_3_b2=1.000 |
| 389 | shapecode_3_a2=0.000 |
| 390 | shapecode_3_border_r=1.000 |
| 391 | shapecode_3_border_g=1.000 |
| 392 | shapecode_3_border_b=1.000 |
| 393 | shapecode_3_border_a=0.000 |
| 394 | per_frame_init_1=entropy=2; |
| 395 | per_frame_1=warp=0; |
| 396 | per_frame_2=old_bass_flop=bass_flop; |
| 397 | per_frame_3=old_treb_flop=treb_flop; |
| 398 | per_frame_4=old_mid_flop=mid_flop; |
| 399 | per_frame_5=chaos=.9+.1*sin(pulse); |
| 400 | per_frame_6=entropy=if(equal(pulse,-20),1+bass_flop+treb_flop+mid_flop+int(rand(2)),entropy); |
| 401 | per_frame_7=bass_thresh = above(bass_att,bass_thresh)*2 + (1-above(bass_att,bass_thresh))*((bass_thresh-1.3)*chaos+1.3); |
| 402 | per_frame_8=bass_flop=abs(bass_flop-equal(bass_thresh,2)); |
| 403 | per_frame_9=treb_thresh=above(treb_att,treb_thresh)*2 + (1-above(treb_att,treb_thresh))*((treb_thresh-1.3)*chaos+1.3); |
| 404 | per_frame_10=treb_flop=abs(treb_flop-equal(treb_thresh,2)); |
| 405 | per_frame_11=mid_thresh=above(mid_att,mid_thresh)*2 + (1-above(mid_att,mid_thresh))*((mid_thresh-1.3)*chaos+1.3); |
| 406 | per_frame_12=mid_flop=abs(mid_flop-equal(mid_thresh,2)); |
| 407 | per_frame_13=bass_changed=bnot(equal(old_bass_flop,bass_flop)); |
| 408 | per_frame_14=mid_changed=bnot(equal(old_mid_flop,mid_flop)); |
| 409 | per_frame_15=treb_changed=bnot(equal(old_treb_flop,treb_flop)); |
| 410 | per_frame_16=bass_residual = bass_changed*sin(pulse*.1*entropy) + bnot(bass_changed)*bass_residual; |
| 411 | per_frame_17=treb_residual = treb_changed*sin(pulse*.1*entropy) + bnot(treb_changed)*treb_residual; |
| 412 | per_frame_18=mid_residual = mid_changed*sin(pulse*.1*entropy) + bnot(mid_changed)*mid_residual; |
| 413 | per_frame_19=pulse=if(above(abs(pulse),20),-20,pulse+(bass_thresh+mid_thresh+treb_thresh)*.032); |
| 414 | per_frame_20=q1=mid_residual; |
| 415 | per_frame_21=q2=bass_residual; |
| 416 | per_frame_22=q3=treb_residual; |
| 417 | per_frame_23=q4=sin(pulse); |
| 418 | per_frame_24=q5=cos(pulse/2+q1); |
| 419 | per_frame_25=q6=above(q1,0)+above(q2,0)+above(q3,0)+above(q3,0)*bass_flop+above(q2,0)*mid_flop+above(q1,0)*treb_flop; |
| 420 | per_frame_26=q7=entropy; |
| 421 | per_frame_27=q8=sin(q6*q1+q7*q2); |
| 422 | per_frame_28=zoom=zoom+.02*q8; |
| 423 | per_frame_29=wave_mystery=sin(q1+q5); |
| 424 | per_frame_30=wave_r=wave_r+.5*sin(q1+q2*1.14+q4); |
| 425 | per_frame_31=wave_b=wave_b+.5*sin(q2+q3*1.14+q4); |
| 426 | per_frame_32=wave_g=wave_g+.5*sin(q3+q1*1.14+q4); |
| 427 | per_frame_33=ob_r=if(bass_flop,ob_r+.5*sin(q1+q3*1.14+q4),wave_b); |
| 428 | per_frame_34=ob_b=if(treb_flop,ob_b+.5*sin(q2+q1*1.14+q4),wave_g); |
| 429 | per_frame_35=ob_g=if(mid_flop,ob_g+.5*sin(q3+q2*1.14+q4),wave_r); |
| 430 | per_frame_36=ib_r=if(bass_flop,ob_b,ib_r+.5*cos(q5*2.14+q1)); |
| 431 | per_frame_37=ib_b=if(treb_flop,ob_g,ib_b+.5*cos(q5*2.14+q2)); |
| 432 | per_frame_38=ib_g=if(mid_flop,ob_r,ib_g+.5*cos(q5*2.14+q3)); |
| 433 | per_frame_39=mv_r=mv_r+.5*sin(q4+q5*1.14*q1); |
| 434 | per_frame_40=mv_b=mv_b+.5*sin(q4+q5*1.14*q2); |
| 435 | per_frame_41=mv_g=mv_g+.5*sin(q5+q5*1.14*q3); |
| 436 | per_frame_42=ob_a=.05+.05*sin(q2+q3*2.14); |
| 437 | per_frame_43=ib_a=.05+.05*sin(q2*2.14+q3); |
| 438 | per_frame_44=mv_a=mv_a+mv_a*sin(q3*2.14+q2); |
| 439 | per_frame_45=ob_size=.25+.25*sin(q3*3+q1); |
| 440 | per_frame_46=ib_size=ib_size*.5+ib_size*.25*sin(q1*3+q3); |
| 441 | per_frame_47=wave_mode=q6+above(q4,0)+above(q5,0); |
| 442 | per_frame_48=wave_mystery=sin(q3*1.14+q1*1.14+q2); |
| 443 | per_frame_49=mv_l=(q6*q7)*q2; |
| 444 | per_frame_50=cx=cx+.07*q6*q4; |
| 445 | per_frame_51=cy=cy+.07*q7*q5; |
| 446 | per_frame_52=wave_x=wave_x+.1*q7*q4; |
| 447 | per_frame_53=wave_y=wave_y+.1*q6*q5; |
| 448 | per_frame_54=mv_x=q6*q7; |
| 449 | per_frame_55=mv_y=q6*q7; |
| 450 | per_pixel_1=grid=(x*3*q6)%2+(y*3*q6)%2; |
| 451 | per_pixel_2=zoom=zoom+q8*.07*cos(rad*3.14*q3+abs(rad-.1*q6)*q2+rad*3.14*sin(time*q1)+q7)*bnot(grid); |
| 452 | per_pixel_3=rot=.1*equal(grid,0)*cos(x*2.14*q5+q3); |
| 453 | per_pixel_4=cx=cx+1*q6*q4; |
| 454 | per_pixel_5=cy=cy+.1*q7*q5; |
| 455 | warp_1=`sampler sampler_fw_clouds; |
| 456 | warp_2=`shader_body |
| 457 | warp_3=`{// sample previous frame |
| 458 | warp_4=`ret = tex2D( sampler_main, uv ).xyz; |
| 459 | warp_5=`float blur =sin(bass*90)*rad; |
| 460 | warp_6=`ret=0.125*( |
| 461 | warp_7=`GetPixel(float2(uv.x-0.01*blur,uv.y-0.01*blur)) + |
| 462 | warp_8=`GetPixel(float2(uv.x+0.01*blur,uv.y+0.01*blur)) + |
| 463 | warp_9=`GetPixel(float2(uv.x-0.01*blur,uv.y+0.01*blur)) + |
| 464 | warp_10=`GetPixel(float2(uv.x+0.01*blur,uv.y-0.01*blur)) + |
| 465 | warp_11=`GetPixel(float2(uv.x,uv.y-0.01*blur)) + |
| 466 | warp_12=`GetPixel(float2(uv.x,uv.y+0.01*blur)) + |
| 467 | warp_13=`GetPixel(float2(uv.x-0.01*blur,uv.y)) + |
| 468 | warp_14=`GetPixel(float2(uv.x+0.01*blur,uv.y))); |
| 469 | warp_15=`//add a 'bass overbright' effect: |
| 470 | warp_16=`ret-=-(lum(ret)<sin(time*90))*ret*blur+(lum(ret)>sin(-time*90))*ret*blur; |
| 471 | warp_17=`} |
| 472 | comp_1=`shader_body |
| 473 | comp_2=`{ |
| 474 | comp_3=` float rad_lq = rad * length(texsize.xy)*0.5; |
| 475 | comp_4=` float ang_lq = ang; |
| 476 | comp_5=` float2 uv_temp1 = (uv - 0.5) * texsize.xy; |
| 477 | comp_6=` float rad_hq = length(uv_temp1); |
| 478 | comp_7=` float ang_hq = atan2(-uv_temp1.y, uv_temp1.x); |
| 479 | comp_8=` |
| 480 | comp_9=` float2 uv2 = (uv - 0.5); |
| 481 | comp_10=` float rad2 = rad_lq*0.8; |
| 482 | comp_11=` float ang2 = ang_lq * M_INV_PI_2 - rad_lq*0.0002 + time*0.02; |
| 483 | comp_12=` |
| 484 | comp_13=` |
| 485 | comp_14=` // FIN TYPE |
| 486 | comp_15=` float fins = 5; |
| 487 | comp_16=` ang2 = frac(ang2*fins)/fins; |
| 488 | comp_17=` // ENABLE THIS TO MAKE THE FINS ALTERNATE: (seamless!) |
| 489 | comp_18=` ang2 = abs(ang2 - 0.5/fins); |
| 490 | comp_19=` |
| 491 | comp_20=` |
| 492 | comp_21=` ang2 *= M_PI_2; |
| 493 | comp_22=` uv = 0.5 + rad2*float2(cos(ang2),sin(ang2))*texsize.zw; |
| 494 | comp_23=` float2 uv_echo = (uv - 0.5)*1.000*float2(1,1) + 0.5; |
| 495 | comp_24=` ret = lerp( tex2D(sampler_main, uv).xyz, |
| 496 | comp_25=` tex2D(sampler_main, uv_echo).xyz, |
| 497 | comp_26=` 0.50 |
| 498 | comp_27=` ); //video echo |
| 499 | comp_28=` ret *= 1; //gamma |
| 500 | comp_29=`// ret *= ret; //darken |
| 501 | comp_30=`// ret = 1 - ret; //invert |
| 502 | comp_31=`} |